/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "缴费表",TableName = "PayInfo")]
    public partial class PayInfo:BaseEntity
    {
        /// <summary>
       ///主键Id
       /// </summary>
       [Key]
       [Display(Name ="主键Id")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int Id { get; set; }

       /// <summary>
       ///房间编号
       /// </summary>
       [Display(Name ="房间编号")]
       [MaxLength(30)]
       [Column(TypeName="varchar(30)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string RoomCode { get; set; }

       /// <summary>
       ///床位编号
       /// </summary>
       [Display(Name ="床位编号")]
       [MaxLength(20)]
       [Column(TypeName="varchar(20)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string BedCode { get; set; }

       /// <summary>
       ///病人编号
       /// </summary>
       [Display(Name ="病人编号")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string patientCode { get; set; }

       /// <summary>
       ///费用总计
       /// </summary>
       [Display(Name ="费用总计")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? total { get; set; }

       /// <summary>
       ///缴费平台
       /// </summary>
       [Display(Name ="缴费平台")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? PayPlat { get; set; }

       /// <summary>
       ///缴费时间
       /// </summary>
       [Display(Name ="缴费时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public DateTime PayTime { get; set; }

       /// <summary>
       ///缴费状态
       /// </summary>
       [Display(Name ="缴费状态")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IsPay { get; set; }

       
    }
}